import store from 'store';
/*
 * 本地存储 兼容所有浏览器在 低版本浏览器上会转为cookie 存储数据
 * 2020/3/15
 */

export function getStore(name = '') {
	return store.get(name);
}

export function setStore(name = '', data) {
	return store.set(name, data);
}
export function removeStore(name) {
	store.remove(name);
}
export const clearStore = store.clearAll;
